﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PersonSearcher1List.ascx.cs" Inherits="Job.Web.userControls.common.PersonSearcher1List" %>



<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<table runat="server" visible="false" id="msgTab" width="80%" align="center">
    <tr>
        <td height="30px" align="center" runat="server" id="msgTd" valign="middle"></td>
    </tr>    
</table>

<asp:GridView ID="SearcherList" runat="server" CssClass="table_style1" Width="100%" 
    AutoGenerateColumns="False" onrowdatabound="SearcherList_RowDataBound" 
    onrowdeleting="SearcherList_RowDeleting" 
    onrowediting="SearcherList_RowEditing">
    <HeaderStyle CssClass="table_style1_th" />
    <SelectedRowStyle BackColor="#EAECEC"/>
    <AlternatingRowStyle BackColor="#F6F6F6" />
  
    <Columns>
        <asp:TemplateField HeaderText="搜索器名称">
            <ItemTemplate>
                <asp:HyperLink ID="hlSearcher" runat="server"><%#DataBinder.Eval(Container.DataItem, "searcher_name")%></asp:HyperLink>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="Left" Width="40%" />
        </asp:TemplateField>  
        
        <asp:TemplateField HeaderText="关键字">
            <ItemTemplate>
                <asp:Label ID="lbKey" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "search_key")%>'></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="Left" Width="20%" />
        </asp:TemplateField>           
        
        
        <asp:TemplateField HeaderText="搜索账户">
            <ItemTemplate>
                <asp:Label ID="lbStatus" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"account_status")%>'></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="center" Width="20%" />
        </asp:TemplateField>          
  
        <asp:TemplateField InsertVisible="False" ShowHeader="False">
            <ItemTemplate>
                <asp:HyperLink ID="hlSearcherBtn" runat="server">直接搜索</asp:HyperLink>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" Width="8%" />
        </asp:TemplateField>  
   
        <asp:TemplateField InsertVisible="False" ShowHeader="False">
            <ItemTemplate>
                <asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" 
                    CommandName="Edit" Text="编辑"></asp:LinkButton>
                &nbsp;&nbsp;
                <asp:LinkButton ID="lbtDelete" runat="server" CausesValidation="False" 
                    CommandName="Delete" Text="删除"></asp:LinkButton>
                <asp:Label ID="lbId" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "searcher_id")%>' Visible="false"></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" />
        </asp:TemplateField>
 
    </Columns>
</asp:GridView>


<webdiyer:AspNetPager ID="pagerButtom" runat="server" 
	ButtonImageNameExtension="n" ButtonImageExtension=".gif" 
        DisabledButtonImageNameExtension="g" CpiButtonImageNameExtension="r" 
		PagingButtonSpacing="10px" ButtonImageAlign="left" 
		onpagechanged="pagerButtom_PageChanged" CssClass="pagination" 
		CurrentPageButtonClass="current" PagingButtonClass="" 
		PagingButtonLayoutType="Span">
</webdiyer:AspNetPager>

<br />										  
<br />		